diff: Allow aborting a diff
authorBenjamin Otte <otte@redhat.com>
Sat, 31 Mar 2018 10:52:19 +0000 (12:52 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 12:56:38 +0000 (14:56 +0200)
commit200bbe8fda5ffffdf3362d2478450a7e489c487a
treecd84d04445af1ecf7218b021693450098481ad35
parent144637bff171412aa63331ffbef14fb516d133ca
diff: Allow aborting a diff

When the max cost for finding a path gets to high, the diff can now be
aborted.

Because render nodes have a fallback method (by just marking the whole
bounds of the nodes as different), we use this to improve performance
of diffs.

This brings fishbowl (which is basically a container node with N images
that change every frame) back to close to previous performance.
gsk/gskdiff.c
gsk/gskdiffprivate.h
gsk/gskrendernodeimpl.c